/*
 *    Copyright (c) 2018-2025, orient All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: orient
 */

package cn.goswan.orient.guohur.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 客户表
 *
 * @author wangchuang
 * @date 2020-05-28 09:55:32
 */
@Data
@TableName("customer")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "客户表")
public class Customer extends Model<Customer> {
private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     */
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value="用户编号")
    private Integer userId;
    /**
     * 客户编码
     */
    @ApiModelProperty(value="客户编码")
    private String userCode;
    /**
     * 昵称
     */
    @ApiModelProperty(value="昵称")
    private String nickName;
    /**
     * 联系电话
     */
    @ApiModelProperty(value="联系电话")
    private String phone;
    /**
     * 省
     */
    @ApiModelProperty(value="省")
    private String privince;
    /**
     * 市
     */
    @ApiModelProperty(value="市")
    private String city;
    /**
     * 区
     */
    @ApiModelProperty(value="区")
    private String area;
    /**
     * 社区
     */
    @ApiModelProperty(value="社区")
    private String quarter;
    /**
     * 联系地址
     */
    @ApiModelProperty(value="联系地址")
    private String address;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime insTime;
    /**
     * 用户等级
     */
    @ApiModelProperty(value="用户等级")
    private String userLevel;
    /**
     * 订单量
     */
    @ApiModelProperty(value="订单量")
    private Integer orderCount;
    /**
     * 登陆次数
     */
    @ApiModelProperty(value="登陆次数")
    private Integer logonCount;
    /**
     * 配送中心
     */
    @ApiModelProperty(value="配送中心")
    private String scId;
    /**
     * 服务社区
     */
    @ApiModelProperty(value="服务社区")
    private String rqId;
    }
